package com.erp.order.supply.dao;

import com.erp.hr.base.dao.BaseDao;
import com.erp.order.purchasing.model.PurchaseOrder;
import com.erp.order.supply.model.SupplyMaterial;
import com.erp.order.supply.model.SupplyMaterialVO;
import org.redragon.framework.hibernate.model.Pages;

import java.util.List;

public interface SupplyMaterialDao extends BaseDao<SupplyMaterial> {
    List<PurchaseOrder> getSupplyLists(Pages pages, PurchaseOrder purchaseOrder, String username);

    SupplyMaterial addCompleteData(SupplyMaterial supplyMaterial);
    List<SupplyMaterialVO> getSupplyAndSupplyRList(Pages pages, SupplyMaterialVO supplyMaterialVO);
}
